<?php
class OrderModel extends Model
{
	private $_obj = null;

	public function __construct()
	{
		if($this->_obj == null){
			$this->_obj = M('Orders');
		}
	}

	public function getOrder($params)
	{
		return $this->_obj->where($params)->select();
	}
}